<?php

namespace app\common\model;

use app\common\basic\BaseNormalModel;

class OrderSign extends BaseNormalModel
{
    protected $table = 'vk_order_sign';

    public function salesOrder() {
        return $this->hasOne(Order::class, 'id', 'order_id');
    }

    public function detail() {
        return $this->hasMany(OrderDetail::class, 'order_id', 'order_id');
    }
    
}